package cn.yuxiaoyuan.mapper;

import cn.yuxiaoyuan.article.doamin.Article;
import cn.yuxiaoyuan.article.query.ArticleQuery;
import cn.yuxiaoyuan.mapper.base.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> pageList(ArticleQuery article);

    List<Article> findOrderByCreate();

}